/*
 * Welcome to use the TableGo Tools.
 * 
 * http://vipbooks.iteye.com
 * http://blog.csdn.net/vipbooks
 * http://www.cnblogs.com/vipbooks
 * 
 * Author:bianj
 * Email:edinsker@163.com
 * Version:5.8.8
 */

package cn.stylefeng.guns.czlm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.List;

/**
 * 商品规格类型表
 * 
 * @author zhou
 * @version 1.0.0 2019-04-29
 */

@TableName("tb_attribute")
public class TbAttribute implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ID_WORKER)
    private long id;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    /**
     * 参数名称，如颜色、型号
     */
    @TableField("name")
    private String name;
    /**
     * tbAttributeValue值的对象类型
     */
    private List<TbAttributeValue> tbAttributeValues;


    public long getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<TbAttributeValue> getTbAttributeValues() {
        return tbAttributeValues;
    }

    public void setTbAttributeValues(List<TbAttributeValue> tbAttributeValues) {
        this.tbAttributeValues = tbAttributeValues;
    }


}